const Mock = require('mockjs')

//随机名字
for (let i = 0; i < 999; i++) {
  let name = Mock.mock('@cname')
  console.log(name)
}

// //随机id
// let id = Mock.mock('@id')
// console.log(id)
//
// //对象
// let obj = Mock.mock({
//   id: '@id',
//   name: '@cname',
//   date: '@date()',
//   avatar: "@image('200x100', '#50B347', '#FFF', 'Mock.js')",
//   description: '@paragraph()',
//   ip: '@ip()',
//   email: '@email()'
// })
// console.log(obj)
